package org.comple.erp.pojo.base.enterprise;

import java.io.Serializable;
import java.util.List;

/**
 * Ա??ʵ?
 *
 * @TableName staff
 */
public class Staff implements Serializable {
    /**
     *
     */
    private String id;

    /**
     * 员工姓名
     */
    private String name;

    /**
     * 编号
     */
    private String code;

    /**
     * 身份证
     */
    private String idCard;

    /**
     * 电话
     */
    private String phone;

    /**
     * 用户名
     */
    private String loginName;

    /**
     * 密码
     */
    private String password;

    /**
     * 所属部门
     */
    private String departmentId;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 是否删除 1：删除 0：未删除
     */
    private Integer isDel;

    /**
     * 性别： 1：男   0：女
     */
    private Integer sex;

    /**
     * 公司编码
     */
    private String companyCode;

    /**
     * 电子邮箱
     */
    private String email;

    private Boolean isBoss;

    private Boolean isManagement;

    private Integer staffCount;

    private String companyName;

    private String departmentName;

    private String roleNameStr;

    private List<String> roleIds;

    private List<Permission> permissions;

    public List<String> getRoleIds() {
        return roleIds;
    }

    public void setRoleIds(List<String> roleIds) {
        this.roleIds = roleIds;
    }

    private static final long serialVersionUID = 1L;

    /**
     *
     */
    public String getId() {
        return id;
    }

    /**
     *
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 员工姓名
     */
    public String getName() {
        return name;
    }

    /**
     * 员工姓名
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 编号
     */
    public String getCode() {
        return code;
    }

    /**
     * 编号
     */
    public void setCode(String code) {
        this.code = code;
    }

    /**
     * 身份证
     */
    public String getIdCard() {
        return idCard;
    }

    /**
     * 身份证
     */
    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    /**
     * 电话
     */
    public String getPhone() {
        return phone;
    }

    /**
     * 电话
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }

    /**
     * 用户名
     */
    public String getLoginName() {
        return loginName;
    }

    /**
     * 用户名
     */
    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    /**
     * 密码
     */
    public String getPassword() {
        return password;
    }

    /**
     * 密码
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * 所属部门
     */
    public String getDepartmentId() {
        return departmentId;
    }

    /**
     * 所属部门
     */
    public void setDepartmentId(String departmentId) {
        this.departmentId = departmentId;
    }

    /**
     * 状态
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * 状态
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * 是否删除 1：删除 0：未删除
     */
    public Integer getIsDel() {
        return isDel;
    }

    /**
     * 是否删除 1：删除 0：未删除
     */
    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    /**
     * 性别： 1：男   0：女
     */
    public Integer getSex() {
        return sex;
    }

    /**
     * 性别： 1：男   0：女
     */
    public void setSex(Integer sex) {
        this.sex = sex;
    }

    /**
     * 公司编码
     */
    public String getCompanyCode() {
        return companyCode;
    }

    /**
     * 公司编码
     */
    public void setCompanyCode(String companyCode) {
        this.companyCode = companyCode;
    }

    public List<Permission> getPermissions() {
        return permissions;
    }

    public void setPermissions(List<Permission> permissions) {
        this.permissions = permissions;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public String getRoleNameStr() {
        return roleNameStr;
    }

    public void setRoleNameStr(String roleNameStr) {
        this.roleNameStr = roleNameStr;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getStaffCount() {
        return staffCount;
    }

    public void setStaffCount(Integer staffCount) {
        this.staffCount = staffCount;
    }

    public Boolean getManagement() {
        return isManagement;
    }

    public void setManagement(Boolean management) {
        isManagement = management;
    }

    public Boolean getBoss() {
        return isBoss;
    }

    public void setBoss(Boolean boss) {
        isBoss = boss;
    }
}